<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Origin')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-origin" data-rule="required" class="form-control selectpage" data-source="type/index" data-field="name" data-params='{"custom[status]":0}' data-pagination="true" name="row[origin]" type="text" value="0">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Qrcode_one')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-qrcode_one" data-rule="required" class="form-control" size="50" name="row[qrcode_one]" type="text" value="">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-qrcode_one" class="btn btn-danger faupload" data-input-id="c-qrcode_one" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-qrcode_one"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-qrcode_one" class="btn btn-primary fachoose" data-input-id="c-qrcode_one" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-qrcode_one"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-qrcode_one"></ul>
        </div>
    </div>


    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Qrcode_two')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-qrcode_two" data-rule="required" class="form-control" size="50" name="row[qrcode_two]" type="text" value="">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-qrcode_two" class="btn btn-danger faupload" data-input-id="c-qrcode_two" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-qrcode_two"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-qrcode_two" class="btn btn-primary fachoose" data-input-id="c-qrcode_two" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-qrcode_two"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-qrcode_two"></ul>
        </div>
    </div>


    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Qrcode_three')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-qrcode_three" data-rule="" class="form-control" size="50" name="row[qrcode_three]" type="text" value="">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-qrcode_three" class="btn btn-danger faupload" data-input-id="c-qrcode_three" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-qrcode_three"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-qrcode_three" class="btn btn-primary fachoose" data-input-id="c-qrcode_three" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-qrcode_three"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-qrcode_three"></ul>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">模板背景图:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-background" data-rule="" class="form-control" size="50" name="row[background]" type="text" value="">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-background" class="btn btn-danger faupload" data-input-id="c-background" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-background"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-background" class="btn btn-primary fachoose" data-input-id="c-background" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-background"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-background"></ul>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>

